{
  "users": {
    "user": [
    {{foreach from=$users item=user name=feusers}}
      {
        "id": "{{$user.id}}",
        "name": "{{$user.name}}",
        "group_id": "{{$user.group_id}}",
        "group_name": "{{$user.group_name}}",
        "tasktype": "{{$user.tasktype}}",
        "imagesList": "{{$user.imagesList}}",
        "fbuid": "{{$user.fbuid}}"
      }{{if $smarty.foreach.feusers.last}} {{else}},{{/if}}
      {{/foreach}}
    ]
  }
}